package websocket;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.socket.config.annotation.EnableWebSocket;
import websocket.exception_.*;


/**
 * @author nieruijie
 * @date 2021/12/6 16:50
 */
@SpringBootApplication
@EnableAsync
@EnableWebSocket
//@RestController
@MapperScan("websocket.mapper")
public class RunApplication {
    public static void main(String[] args)  throws SerialPortParameterFailure, NoSuchPort, PortInUse, NotASerialPort, TooManyListeners{
        SpringApplication.run(RunApplication.class, args);
    }


}
